#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time   : 2022/9/7 19:26
# @Author : cjw
from os.path import exists


class BaseFile:
    """文件操作基类"""

    def __init__(self, file_path: str):
        if not exists(file_path):
            raise FileNotFoundError(f'找不到文件： {file_path}')
        self._file_path = file_path
        self._data = None
